package com.gjy.spring.s10.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-12-20 14:33:51
 */
@Service
public class MyService {

    private static final Logger log = LoggerFactory.getLogger(MyService.class);

    final public void foo() {
        log.info("foo()");
        bar();
    }

    public void bar() {
        log.info("bar()");
    }
}
